home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / progrmng / intcdvpc.sit / INIT_cdev IPC README next >
MacBinary  |  1990-09-16  |  7.3 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Sep 16 19:09:27 1990, modified Sun Sep 16 19:09:27 1990, creator 'MPS ', type ASCII, 6822 bytes "INIT_cdev IPC README" , at 0x1b26 382 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID raw Group 3 FAX bitmap default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 49 4e 49 54 5f 63 | 64 65 76 20 49 50 43 20 |..INIT_c|dev IPC |
|00000010| 52 45 41 44 4d 45 00 00 | 00 00 00 00 00 00 00 00 |README..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 1a a6 00 | 00 01 7e a3 19 b6 a7 a3 |........|..~.....|
|00000060| 19 b6 a7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 0d cd 00 00 |........|........|
|00000080| 23 20 49 4e 49 54 20 64 | 65 76 65 6c 6f 70 65 72 |# INIT d|eveloper|
|00000090| 20 68 65 6c 70 65 72 20 | 61 6e 64 20 49 50 43 20 | helper |and IPC |
|000000a0| 65 78 61 6d 70 6c 65 2e | 20 56 65 72 73 69 6f 6e |example.| Version|
|000000b0| 20 32 2e 30 0d 23 20 20 | a9 20 43 6f 70 79 72 69 | 2.0.# |. Copyri|
|000000c0| 67 68 74 20 31 39 39 30 | 20 4a 65 72 65 6d 79 20 |ght 1990| Jeremy |
|000000d0| 47 72 6f 64 62 65 72 67 | 2e 20 20 41 6c 6c 20 52 |Grodberg|. All R|
|000000e0| 69 67 68 74 73 20 52 65 | 73 65 72 76 65 64 0d 23 |ights Re|served.#|
|000000f0| 0d 23 09 44 65 76 65 6c | 6f 70 6d 65 6e 74 20 73 |.#.Devel|opment s|
|00000100| 79 73 74 65 6d 3a 20 4d | 50 57 20 33 2e 31 20 0d |ystem: M|PW 3.1 .|
|00000110| 23 0d 23 20 55 6e 6d 6f | 64 69 66 69 65 64 20 63 |#.# Unmo|dified c|
|00000120| 6f 70 69 65 73 20 6f 66 | 20 74 68 69 73 20 73 6f |opies of| this so|
|00000130| 75 72 63 65 20 61 6e 64 | 20 6f 62 6a 65 63 74 20 |urce and| object |
|00000140| 63 6f 64 65 20 6d 61 79 | 20 62 65 20 64 69 73 74 |code may| be dist|
|00000150| 72 69 62 75 74 65 64 20 | 66 72 65 65 20 6f 66 20 |ributed |free of |
|00000160| 63 68 61 72 67 65 2e 0d | 23 20 41 64 61 70 74 61 |charge..|# Adapta|
|00000170| 74 69 6f 6e 73 20 6f 66 | 20 74 68 69 73 20 63 6f |tions of| this co|
|00000180| 64 65 20 66 6f 72 20 6f | 74 68 65 72 20 64 65 76 |de for o|ther dev|
|00000190| 65 6c 6f 70 6d 65 6e 74 | 20 73 79 73 74 65 6d 73 |elopment| systems|
|000001a0| 20 6d 61 79 20 62 65 20 | 6d 61 64 65 20 61 6e 64 | may be |made and|
|000001b0| 20 64 69 73 74 72 69 62 | 75 74 65 64 0d 23 20 61 | distrib|uted.# a|
|000001c0| 73 20 70 61 72 74 20 6f | 66 20 73 61 69 64 20 64 |s part o|f said d|
|000001d0| 65 76 65 6c 6f 70 6d 65 | 6e 74 20 73 79 73 74 65 |evelopme|nt syste|
|000001e0| 6d 2c 20 6f 74 68 65 72 | 77 69 73 65 2c 20 6e 65 |m, other|wise, ne|
|000001f0| 69 74 68 65 72 20 74 68 | 69 73 20 63 6f 64 65 20 |ither th|is code |
|00000200| 6e 6f 74 20 61 64 61 70 | 74 61 74 69 6f 6e 73 20 |not adap|tations |
|00000210| 6f 66 0d 23 20 69 74 20 | 6d 61 79 20 62 65 20 64 |of.# it |may be d|
|00000220| 69 73 74 72 69 62 75 74 | 65 64 20 61 6c 6f 6e 67 |istribut|ed along|
|00000230| 20 77 69 74 68 20 6f 74 | 68 65 72 20 70 72 6f 64 | with ot|her prod|
|00000240| 75 63 74 73 20 66 6f 72 | 20 77 68 69 63 68 20 61 |ucts for| which a|
|00000250| 20 66 65 65 20 69 73 20 | 63 68 61 72 67 65 64 2e | fee is |charged.|
|00000260| 0d 23 0d 23 20 41 70 70 | 6c 65 20 43 6f 6d 70 75 |.#.# App|le Compu|
|00000270| 74 65 72 2c 20 49 6e 63 | 2e 20 69 73 20 73 70 65 |ter, Inc|. is spe|
|00000280| 63 69 66 69 63 61 6c 6c | 79 20 67 72 61 6e 74 65 |cificall|y grante|
|00000290| 64 20 6e 6f 6e 2d 65 78 | 63 6c 75 73 69 76 65 20 |d non-ex|clusive |
|000002a0| 70 65 72 6d 69 73 73 69 | 6f 6e 20 74 6f 20 64 69 |permissi|on to di|
|000002b0| 73 74 72 69 62 75 74 65 | 20 0d 23 20 74 68 69 73 |stribute| .# this|
|000002c0| 20 63 6f 64 65 20 62 79 | 20 61 6e 79 20 6d 65 61 | code by| any mea|
|000002d0| 6e 73 2c 20 65 69 74 68 | 65 72 20 66 6f 72 20 66 |ns, eith|er for f|
|000002e0| 72 65 65 2c 20 6f 72 20 | 77 69 74 68 20 6f 74 68 |ree, or |with oth|
|000002f0| 65 72 20 63 6f 64 65 20 | 66 6f 72 20 77 68 69 63 |er code |for whic|
|00000300| 68 20 61 20 66 65 65 20 | 69 73 20 0d 23 20 63 68 |h a fee |is .# ch|
|00000310| 61 72 67 65 64 2c 20 70 | 72 6f 76 69 64 65 64 20 |arged, p|rovided |
|00000320| 74 68 65 79 20 64 6f 20 | 6e 6f 74 20 69 6d 70 6f |they do |not impo|
|00000330| 73 65 20 66 75 72 74 68 | 65 72 20 72 65 73 74 72 |se furth|er restr|
|00000340| 69 63 74 69 6f 6e 73 20 | 6f 6e 20 69 74 73 20 75 |ictions |on its u|
|00000350| 73 65 2c 20 61 6e 64 20 | 74 68 65 79 0d 23 20 69 |se, and |they.# i|
|00000360| 6e 63 6c 75 64 65 20 74 | 68 69 73 20 65 6e 74 69 |nclude t|his enti|
|00000370| 72 65 20 63 6f 70 79 72 | 69 67 68 74 20 6e 6f 74 |re copyr|ight not|
|00000380| 69 63 65 2e 0d 23 20 0d | 23 20 54 68 69 73 20 73 |ice..# .|# This s|
|00000390| 6f 75 72 63 65 20 69 73 | 20 70 72 6f 76 69 64 65 |ource is| provide|
|000003a0| 64 20 74 6f 20 6d 61 6b | 65 20 77 72 69 74 69 6e |d to mak|e writin|
|000003b0| 67 20 49 4e 49 54 73 20 | 61 6e 64 20 63 64 65 76 |g INITs |and cdev|
|000003c0| 73 20 61 20 6c 69 74 74 | 6c 65 20 65 61 73 69 65 |s a litt|le easie|
|000003d0| 72 2e 20 20 0d 23 20 52 | 65 67 69 73 74 65 72 4d |r. .# R|egisterM|
|000003e0| 79 53 69 67 6e 61 74 75 | 72 65 20 63 61 6e 20 61 |ySignatu|re can a|
|000003f0| 6c 73 6f 20 62 65 20 68 | 65 6c 70 66 75 6c 20 74 |lso be h|elpful t|
|00000400| 6f 20 61 6e 79 6f 6e 65 | 20 77 68 6f 20 77 61 6e |o anyone| who wan|
|00000410| 74 73 20 74 6f 20 69 6e | 73 74 61 6c 6c 20 61 20 |ts to in|stall a |
|00000420| 44 52 56 52 2e 0d 23 20 | 49 66 20 79 6f 75 20 66 |DRVR..# |If you f|
|00000430| 69 6e 64 20 69 74 20 68 | 65 6c 70 66 75 6c 2c 20 |ind it h|elpful, |
|00000440| 70 6c 65 61 73 65 20 73 | 65 6e 64 20 6d 65 20 61 |please s|end me a|
|00000450| 20 63 6f 70 79 20 6f 66 | 20 79 6f 75 72 20 66 69 | copy of| your fi|
|00000460| 6e 69 73 68 65 64 20 70 | 72 6f 64 75 63 74 2e 0d |nished p|roduct..|
|00000470| 23 0d 23 20 54 48 49 53 | 20 53 4f 55 52 43 45 20 |#.# THIS| SOURCE |
|00000480| 49 53 20 50 52 4f 56 49 | 44 45 20 41 53 20 49 53 |IS PROVI|DE AS IS|
|00000490| 2c 20 41 4e 44 20 41 4c | 4c 20 57 41 52 52 41 4e |, AND AL|L WARRAN|
|000004a0| 54 49 45 53 20 41 52 45 | 20 45 58 50 4c 49 43 49 |TIES ARE| EXPLICI|
|000004b0| 54 59 20 44 49 53 43 4c | 41 49 4d 45 44 2e 0d 23 |TY DISCL|AIMED..#|
|000004c0| 20 42 59 20 55 53 49 4e | 47 20 54 48 49 53 20 57 | BY USIN|G THIS W|
|000004d0| 4f 52 4b 2c 20 54 48 45 | 20 55 53 45 52 20 41 47 |ORK, THE| USER AG|
|000004e0| 52 45 45 53 20 54 4f 20 | 41 53 53 55 4d 45 20 41 |REES TO |ASSUME A|
|000004f0| 4c 4c 20 52 45 53 50 4f | 4e 53 49 42 49 4c 49 54 |LL RESPO|NSIBILIT|
|00000500| 59 20 46 4f 52 20 0d 23 | 20 44 41 4d 41 47 45 53 |Y FOR .#| DAMAGES|
|00000510| 20 54 48 41 54 20 4d 41 | 59 20 41 52 49 53 45 20 | THAT MA|Y ARISE |
|00000520| 41 53 20 41 20 52 45 53 | 55 4c 54 2c 20 41 4e 44 |AS A RES|ULT, AND|
|00000530| 20 54 4f 20 50 52 4f 54 | 45 43 54 20 46 52 4f 4d | TO PROT|ECT FROM|
|00000540| 20 48 41 52 4d 20 41 4c | 4c 20 45 4e 54 49 54 49 | HARM AL|L ENTITI|
|00000550| 45 53 0d 23 20 49 4e 56 | 4f 4c 56 45 44 20 49 4e |ES.# INV|OLVED IN|
|00000560| 20 54 48 45 20 43 52 45 | 41 54 49 4f 4e 20 41 4e | THE CRE|ATION AN|
|00000570| 44 20 44 49 53 54 52 49 | 42 55 54 49 4f 4e 20 4f |D DISTRI|BUTION O|
|00000580| 46 20 54 48 49 53 20 57 | 4f 52 4b 2e 0d 23 0d 23 |F THIS W|ORK..#.#|
|00000590| 20 4a 65 72 65 6d 79 20 | 47 72 6f 64 62 65 72 67 | Jeremy |Grodberg|
|000005a0| 2e 20 20 53 65 70 74 65 | 6d 62 65 72 2c 20 31 39 |. Septe|mber, 19|
|000005b0| 39 30 0d 23 20 6a 67 72 | 6f 40 6c 69 61 2e 63 6f |90.# jgr|o@lia.co|
|000005c0| 6d 20 20 28 76 69 61 20 | 41 70 70 6c 65 4c 69 6e |m (via |AppleLin|
|000005d0| 6b 3a 20 6a 67 72 6f 40 | 6c 69 61 2e 63 6f 6d 40 |k: jgro@|lia.com@|
|000005e0| 49 4e 54 45 52 4e 45 54 | 23 29 0d 23 20 41 6d 65 |INTERNET|#).# Ame|
|000005f0| 72 69 63 61 20 4f 6e 6c | 69 6e 65 3a 20 6a 67 72 |rica Onl|ine: jgr|
|00000600| 6f 20 28 49 20 64 6f 6e | 27 74 20 72 65 61 64 20 |o (I don|'t read |
|00000610| 74 68 69 73 20 76 65 72 | 79 20 6f 66 74 65 6e 29 |this ver|y often)|
|00000620| 0d 0d 2a 20 43 68 61 6e | 67 65 73 20 73 69 6e 63 |..* Chan|ges sinc|
|00000630| 65 20 56 65 72 73 69 6f | 6e 20 31 2e 30 3a 20 20 |e Versio|n 1.0: |
|00000640| 53 75 70 70 6f 72 74 20 | 66 6f 72 20 73 79 73 74 |Support |for syst|
|00000650| 65 6d 73 20 74 68 61 74 | 20 64 6f 20 6e 6f 74 20 |ems that| do not |
|00000660| 73 75 70 70 6f 72 74 20 | 47 65 73 74 61 6c 74 0d |support |Gestalt.|
|00000670| 0d 0d 2a 20 54 68 69 73 | 20 69 73 20 61 20 6c 69 |..* This| is a li|
|00000680| 62 72 61 72 79 20 6f 66 | 20 63 6f 64 65 20 77 68 |brary of| code wh|
|00000690| 69 63 68 20 79 6f 75 20 | 63 61 6e 20 75 73 65 20 |ich you |can use |
|000006a0| 74 6f 20 73 68 61 72 65 | 20 6d 65 6d 6f 72 79 20 |to share| memory |
|000006b0| 61 63 72 6f 73 73 20 70 | 72 6f 63 65 73 73 65 73 |across p|rocesses|
|000006c0| 2e 0d 2a 20 57 68 69 6c | 65 20 79 6f 75 20 63 6f |..* Whil|e you co|
|000006d0| 75 6c 64 20 75 73 65 20 | 74 68 69 73 20 66 6f 72 |uld use |this for|
|000006e0| 20 61 6e 79 20 6b 69 6e | 64 20 6f 66 20 69 6e 74 | any kin|d of int|
|000006f0| 65 72 2d 70 72 6f 63 65 | 73 73 20 63 6f 6d 6d 75 |er-proce|ss commu|
|00000700| 6e 69 63 61 74 69 6f 6e | 2c 20 69 74 20 69 73 0d |nication|, it is.|
|00000710| 2a 20 65 73 70 65 63 69 | 61 6c 6c 79 20 69 6e 74 |* especi|ally int|
|00000720| 65 6e 64 65 64 20 74 6f | 20 61 6c 6c 6f 77 20 61 |ended to| allow a|
|00000730| 20 63 6f 6e 74 72 6f 6c | 20 70 61 6e 65 6c 20 28 | control| panel (|
|00000740| 63 64 65 76 29 20 74 6f | 20 61 6c 74 65 72 20 74 |cdev) to| alter t|
|00000750| 68 65 20 62 65 68 61 76 | 69 6f 72 0d 2a 20 6f 66 |he behav|ior.* of|
|00000760| 20 61 20 73 74 61 72 74 | 75 70 20 64 6f 63 75 6d | a start|up docum|
|00000770| 65 6e 74 20 28 49 4e 49 | 54 29 20 77 68 69 6c 65 |ent (INI|T) while|
|00000780| 20 74 68 65 20 6c 61 74 | 74 65 72 20 69 73 20 72 | the lat|ter is r|
|00000790| 75 6e 6e 69 6e 67 20 28 | 74 68 61 74 20 69 73 2c |unning (|that is,|
|000007a0| 20 77 69 74 68 6f 75 74 | 0d 2a 20 72 65 73 74 61 | without|.* resta|
|000007b0| 72 74 69 6e 67 20 74 68 | 65 20 63 6f 6d 70 75 74 |rting th|e comput|
|000007c0| 65 72 29 2e 20 20 45 6e | 74 72 79 20 70 6f 69 6e |er). En|try poin|
|000007d0| 74 73 20 61 72 65 20 64 | 65 66 69 6e 65 64 20 61 |ts are d|efined a|
|000007e0| 73 20 61 20 50 61 73 63 | 61 6c 20 66 75 6e 63 74 |s a Pasc|al funct|
|000007f0| 69 6f 6e 73 20 73 6f 20 | 0d 2a 20 79 6f 75 20 63 |ions so |.* you c|
|00000800| 61 6e 20 63 61 6c 6c 20 | 69 74 20 66 72 6f 6d 20 |an call |it from |
|00000810| 61 6e 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 69 |an Appli|cation i|
|00000820| 66 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 2e 0d 2a |f you wa|nt to..*|
|00000830| 0d 2a 20 54 68 65 20 74 | 68 65 6f 72 79 20 62 65 |.* The t|heory be|
|00000840| 68 69 6e 64 20 74 68 69 | 73 20 69 73 20 74 68 61 |hind thi|s is tha|
|00000850| 74 20 79 6f 75 72 20 49 | 4e 49 54 20 77 69 6c 6c |t your I|NIT will|
|00000860| 20 68 61 76 65 20 61 20 | 62 6c 6f 63 6b 20 6f 66 | have a |block of|
|00000870| 20 76 61 72 69 61 62 6c | 65 73 20 77 68 69 63 68 | variabl|es which|
|00000880| 20 0d 2a 20 69 74 20 6e | 65 65 64 73 20 74 6f 20 | .* it n|eeds to |
|00000890| 75 73 65 20 66 6f 72 20 | 76 61 72 69 6f 75 73 20 |use for |various |
|000008a0| 70 75 72 70 6f 73 65 73 | 2c 20 69 6e 63 6c 75 64 |purposes|, includ|
|000008b0| 69 6e 67 20 73 74 6f 72 | 69 6e 67 20 75 73 65 72 |ing stor|ing user|
|000008c0| 20 6f 70 74 69 6f 6e 73 | 2e 0d 2a 20 54 68 65 20 | options|..* The |
|000008d0| 75 73 65 72 20 6f 70 74 | 69 6f 6e 73 20 77 6f 75 |user opt|ions wou|
|000008e0| 6c 64 20 62 65 20 73 74 | 6f 72 65 64 20 69 6e 20 |ld be st|ored in |
|000008f0| 61 20 72 65 73 6f 75 72 | 63 65 20 77 68 69 63 68 |a resour|ce which|
|00000900| 20 69 73 20 61 20 63 6f | 70 79 20 6f 66 20 74 68 | is a co|py of th|
|00000910| 65 0d 2a 20 49 4e 49 54 | 27 73 20 76 61 72 69 61 |e.* INIT|'s varia|
|00000920| 62 6c 65 73 2c 20 61 6e | 64 20 63 6f 75 6c 64 20 |bles, an|d could |
|00000930| 62 65 20 65 64 69 74 65 | 64 20 62 79 20 61 20 43 |be edite|d by a C|
|00000940| 6f 6e 74 72 6f 6c 20 50 | 61 6e 65 6c 20 44 65 76 |ontrol P|anel Dev|
|00000950| 69 63 65 20 28 63 64 65 | 76 29 2e 0d 2a 20 41 74 |ice (cde|v)..* At|
|00000960| 20 49 4e 49 54 20 74 69 | 6d 65 2c 20 74 68 65 20 | INIT ti|me, the |
|00000970| 28 65 64 69 74 65 64 29 | 20 72 65 73 6f 75 72 63 |(edited)| resourc|
|00000980| 65 20 69 73 20 63 6f 70 | 69 65 64 20 69 6e 74 6f |e is cop|ied into|
|00000990| 20 74 68 65 20 49 4e 49 | 54 27 73 20 76 61 72 69 | the INI|T's vari|
|000009a0| 61 62 6c 65 73 20 66 6f | 72 20 0d 2a 20 74 68 65 |ables fo|r .* the|
|000009b0| 20 49 4e 49 54 20 74 6f | 20 75 73 65 2e 20 20 49 | INIT to| use. I|
|000009c0| 6e 20 6f 74 68 65 72 20 | 77 6f 72 64 73 2c 20 74 |n other |words, t|
|000009d0| 6f 20 63 68 61 6e 67 65 | 20 74 68 65 20 75 73 65 |o change| the use|
|000009e0| 72 20 6f 70 74 69 6f 6e | 73 2c 20 74 68 65 20 75 |r option|s, the u|
|000009f0| 73 65 72 20 75 73 65 73 | 0d 2a 20 74 68 65 20 63 |ser uses|.* the c|
|00000a00| 64 65 76 20 74 6f 20 65 | 64 69 74 20 74 68 65 20 |dev to e|dit the |
|00000a10| 72 65 73 6f 75 72 63 65 | 2c 20 77 68 69 63 68 20 |resource|, which |
|00000a20| 77 69 6c 6c 20 63 68 61 | 6e 67 65 20 74 68 65 20 |will cha|nge the |
|00000a30| 6f 70 74 69 6f 6e 73 20 | 74 68 65 20 6e 65 78 74 |options |the next|
|00000a40| 20 74 69 6d 65 20 74 68 | 65 0d 2a 20 49 4e 49 54 | time th|e.* INIT|
|00000a50| 20 69 73 20 6c 6f 61 64 | 65 64 2e 0d 2a 20 0d 2a | is load|ed..* .*|
|00000a60| 20 54 68 69 73 20 69 73 | 20 68 6f 77 20 6d 6f 73 | This is| how mos|
|00000a70| 74 20 49 4e 49 54 73 20 | 61 72 65 20 77 72 69 74 |t INITs |are writ|
|00000a80| 74 65 6e 2c 20 61 6e 64 | 20 74 68 69 73 20 69 73 |ten, and| this is|
|00000a90| 20 77 68 79 20 6d 6f 73 | 74 20 49 4e 49 54 73 20 | why mos|t INITs |
|00000aa0| 72 65 71 75 69 72 65 20 | 61 20 0d 2a 20 72 65 62 |require |a .* reb|
|00000ab0| 6f 6f 74 20 66 6f 72 20 | 63 68 61 6e 67 65 73 20 |oot for |changes |
|00000ac0| 74 6f 20 74 61 6b 65 20 | 65 66 66 65 63 74 2e 20 |to take |effect. |
|00000ad0| 20 42 65 66 6f 72 65 20 | 6e 6f 77 2c 20 74 68 65 | Before |now, the|
|00000ae0| 72 65 20 77 61 73 20 6e | 6f 20 73 69 6d 70 6c 65 |re was n|o simple|
|00000af0| 20 77 61 79 0d 2a 20 66 | 6f 72 20 61 20 63 64 65 | way.* f|or a cde|
|00000b00| 76 20 74 6f 20 67 65 74 | 20 61 20 68 6f 6c 64 20 |v to get| a hold |
|00000b10| 6f 66 20 74 68 65 20 49 | 4e 49 54 73 20 76 61 72 |of the I|NITs var|
|00000b20| 69 61 62 6c 65 73 2c 20 | 73 6f 20 69 74 20 63 6f |iables, |so it co|
|00000b30| 75 6c 64 20 6f 6e 6c 79 | 20 63 6f 6d 6d 75 6e 69 |uld only| communi|
|00000b40| 63 61 74 65 20 62 79 0d | 2a 20 63 68 61 6e 67 69 |cate by.|* changi|
|00000b50| 6e 67 20 74 68 65 20 72 | 65 73 6f 75 72 63 65 20 |ng the r|esource |
|00000b60| 61 6e 64 20 74 68 65 6e | 20 72 65 69 6e 69 74 69 |and then| reiniti|
|00000b70| 61 6c 69 7a 69 6e 67 20 | 74 68 65 20 49 4e 49 54 |alizing |the INIT|
|00000b80| 2e 0d 2a 0d 2a 20 4e 6f | 77 20 77 69 74 68 20 52 |..*.* No|w with R|
|00000b90| 65 67 69 73 74 65 72 4d | 79 53 69 67 6e 61 74 75 |egisterM|ySignatu|
|00000ba0| 72 65 2c 20 79 6f 75 72 | 20 49 4e 49 54 20 63 61 |re, your| INIT ca|
|00000bb0| 6e 20 72 65 67 69 73 74 | 65 72 20 69 74 73 65 6c |n regist|er itsel|
|00000bc0| 66 20 61 6e 64 20 70 72 | 6f 76 69 64 65 20 61 20 |f and pr|ovide a |
|00000bd0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 0d 2a 20 61 6e |pointer |to .* an|
|00000be0| 79 6f 6e 65 20 74 68 61 | 74 20 77 61 6e 74 73 20 |yone tha|t wants |
|00000bf0| 69 74 2e 20 20 52 65 67 | 69 73 74 65 72 4d 79 53 |it. Reg|isterMyS|
|00000c00| 69 67 6e 61 74 75 72 65 | 20 74 61 6b 65 73 20 61 |ignature| takes a|
|00000c10| 20 73 65 6c 65 63 74 6f | 72 20 77 68 69 63 68 20 | selecto|r which |
|00000c20| 69 73 20 61 6e 20 4f 53 | 54 79 70 65 2c 20 61 6e |is an OS|Type, an|
|00000c30| 64 0d 2a 20 72 65 74 75 | 72 6e 73 20 61 20 6c 6f |d.* retu|rns a lo|
|00000c40| 6e 67 69 6e 74 2e 20 20 | 46 6f 72 20 79 6f 75 72 |ngint. |For your|
|00000c50| 20 49 4e 49 54 2c 20 79 | 6f 75 20 72 65 67 69 73 | INIT, y|ou regis|
|00000c60| 74 65 72 20 79 6f 75 72 | 20 49 4e 49 54 27 73 20 |ter your| INIT's |
|00000c70| 63 72 65 61 74 6f 72 20 | 62 79 74 65 73 20 0d 2a |creator |bytes .*|
|00000c80| 20 28 77 68 69 63 68 20 | 79 6f 75 20 68 61 76 65 | (which |you have|
|00000c90| 20 63 6c 65 61 72 65 64 | 20 77 69 74 68 20 41 70 | cleared| with Ap|
|00000ca0| 70 6c 65 20 62 79 20 72 | 65 67 69 73 74 65 72 69 |ple by r|egisteri|
|00000cb0| 6e 67 20 77 69 74 68 20 | 4d 61 63 44 54 53 29 20 |ng with |MacDTS) |
|00000cc0| 61 6e 64 20 77 68 61 74 | 65 76 65 72 0d 2a 20 6c |and what|ever.* l|
|00000cd0| 6f 6e 67 69 6e 74 20 79 | 6f 75 20 77 61 6e 74 2c |ongint y|ou want,|
|00000ce0| 20 70 72 65 73 75 6d 61 | 62 6c 79 20 74 68 65 20 | presuma|bly the |
|00000cf0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 79 6f 75 72 20 |pointer |to your |
|00000d00| 49 4e 49 54 27 73 20 76 | 61 72 69 61 62 6c 65 73 |INIT's v|ariables|
|00000d10| 2e 20 4c 61 74 65 72 2c | 0d 2a 20 79 6f 75 72 20 |. Later,|.* your |
|00000d20| 63 64 65 76 20 77 69 6c | 6c 20 63 61 6c 6c 20 4c |cdev wil|l call L|
|00000d30| 6f 6f 6b 75 70 4d 79 53 | 69 67 6e 61 74 75 72 65 |ookupMyS|ignature|
|00000d40| 20 77 69 74 68 20 79 6f | 75 72 20 49 4e 49 54 73 | with yo|ur INITs|
|00000d50| 20 63 72 65 61 74 6f 72 | 20 62 79 74 65 73 2c 20 | creator| bytes, |
|00000d60| 61 6e 64 20 67 65 74 20 | 62 61 63 6b 0d 2a 20 74 |and get |back.* t|
|00000d70| 68 65 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 74 68 |he point|er to th|
|00000d80| 65 20 76 61 72 69 61 62 | 6c 65 73 2c 20 73 6f 20 |e variab|les, so |
|00000d90| 74 68 65 79 20 63 61 6e | 20 62 65 20 63 68 61 6e |they can| be chan|
|00000da0| 67 65 64 20 69 6e 20 72 | 65 61 6c 20 74 69 6d 65 |ged in r|eal time|
|00000db0| 2e 20 20 49 74 20 77 69 | 6c 6c 0d 2a 20 61 6c 73 |. It wi|ll.* als|
|00000dc0| 6f 20 62 65 20 61 62 6c | 65 20 74 6f 20 74 65 6c |o be abl|e to tel|
|00000dd0| 6c 20 69 66 20 74 68 65 | 20 49 4e 49 54 20 77 61 |l if the| INIT wa|
|00000de0| 73 20 6e 6f 74 20 69 6e | 73 74 61 6c 6c 65 64 2c |s not in|stalled,|
|00000df0| 20 62 65 63 61 75 73 65 | 20 74 68 65 20 63 72 65 | because| the cre|
|00000e00| 61 74 6f 72 20 62 79 74 | 65 73 0d 2a 20 77 69 6c |ator byt|es.* wil|
|00000e10| 6c 20 6e 6f 74 20 62 65 | 20 72 65 67 69 73 74 65 |l not be| registe|
|00000e20| 72 65 64 2e 20 20 53 65 | 65 20 74 68 65 20 61 63 |red. Se|e the ac|
|00000e30| 63 6f 6d 70 61 6e 79 69 | 6e 67 20 53 61 6d 70 6c |companyi|ng Sampl|
|00000e40| 65 4c 6f 6f 6b 75 70 2e | 63 20 66 6f 72 20 61 6e |eLookup.|c for an|
|00000e50| 20 65 78 61 6d 70 6c 65 | 2e 0d 2a 0d 2a 20 4f 6e | example|..*.* On|
|00000e60| 20 73 79 73 74 65 6d 73 | 20 74 68 61 74 20 73 75 | systems| that su|
|00000e70| 70 70 6f 72 74 20 47 65 | 73 74 61 6c 74 20 28 53 |pport Ge|stalt (S|
|00000e80| 79 73 74 65 6d 20 36 2e | 30 2e 34 20 61 6e 64 20 |ystem 6.|0.4 and |
|00000e90| 6c 61 74 65 72 29 2c 20 | 47 65 73 74 61 6c 74 20 |later), |Gestalt |
|00000ea0| 69 73 20 75 73 65 64 20 | 74 6f 20 0d 2a 20 64 6f |is used |to .* do|
|00000eb0| 20 74 68 65 20 61 63 74 | 75 61 6c 20 72 65 67 69 | the act|ual regi|
|00000ec0| 73 74 72 61 74 69 6f 6e | 20 61 6e 64 20 6c 6f 6f |stration| and loo|
|00000ed0| 6b 75 70 2e 20 20 4f 6e | 20 6f 6c 64 65 72 20 73 |kup. On| older s|
|00000ee0| 79 73 74 65 6d 73 2c 20 | 61 20 64 72 69 76 65 72 |ystems, |a driver|
|00000ef0| 20 28 44 52 56 52 29 20 | 69 73 20 0d 2a 20 69 6e | (DRVR) |is .* in|
|00000f00| 73 74 61 6c 6c 65 64 20 | 77 68 69 63 68 20 77 69 |stalled |which wi|
|00000f10| 6c 6c 20 64 6f 20 74 68 | 65 20 72 65 67 69 73 74 |ll do th|e regist|
|00000f20| 72 61 74 69 6f 6e 2e 20 | 20 54 68 65 20 64 72 69 |ration. | The dri|
|00000f30| 76 65 72 27 73 20 73 6f | 75 72 63 65 20 63 6f 64 |ver's so|urce cod|
|00000f40| 65 20 69 73 20 6e 6f 74 | 0d 2a 20 69 6e 63 6c 75 |e is not|.* inclu|
|00000f50| 64 65 64 2c 20 62 75 74 | 20 74 68 65 20 44 52 56 |ded, but| the DRV|
|00000f60| 52 20 72 65 73 6f 75 72 | 63 65 20 69 73 2e 20 59 |R resour|ce is. Y|
|00000f70| 6f 75 20 64 6f 6e 27 74 | 20 6e 65 65 64 20 74 6f |ou don't| need to|
|00000f80| 20 64 6f 20 61 6e 79 74 | 68 69 6e 67 20 77 69 74 | do anyt|hing wit|
|00000f90| 68 20 74 68 65 20 64 72 | 69 76 65 72 0d 2a 20 62 |h the dr|iver.* b|
|00000fa0| 75 74 20 69 6e 63 6c 75 | 64 65 20 69 74 20 69 6e |ut inclu|de it in|
|00000fb0| 20 79 6f 75 72 20 49 4e | 49 54 2e 20 20 52 65 67 | your IN|IT. Reg|
|00000fc0| 69 73 74 65 72 4d 79 53 | 69 67 6e 61 74 75 72 65 |isterMyS|ignature|
|00000fd0| 20 61 6e 64 20 4c 6f 6f | 6b 75 70 4d 79 53 69 67 | and Loo|kupMySig|
|00000fe0| 6e 61 74 75 72 65 20 74 | 61 6b 65 0d 2a 20 63 61 |nature t|ake.* ca|
|00000ff0| 72 65 20 6f 66 20 65 76 | 65 72 79 74 68 69 6e 67 |re of ev|erything|
|00001000| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 2e 0d | automat|ically..|
|00001010| 2a 0d 2a 20 46 6f 72 20 | 61 6e 20 65 78 63 65 6c |*.* For |an excel|
|00001020| 6c 65 6e 74 20 73 74 61 | 72 74 20 6f 6e 20 68 6f |lent sta|rt on ho|
|00001030| 77 20 74 6f 20 77 72 69 | 74 65 20 49 4e 49 54 73 |w to wri|te INITs|
|00001040| 2c 20 0d 2a 20 72 65 61 | 64 20 54 65 63 68 6e 6f |, .* rea|d Techno|
|00001050| 74 65 20 23 32 35 36 2c | 20 41 75 67 75 73 74 20 |te #256,| August |
|00001060| 31 39 39 30 20 72 65 76 | 73 69 6f 6e 2e 0d 0d 0d |1990 rev|sion....|
|00001070| 23 20 54 68 69 73 20 70 | 61 63 6b 61 67 65 20 63 |# This p|ackage c|
|00001080| 6f 6e 74 61 69 6e 73 20 | 36 20 66 69 6c 65 73 20 |ontains |6 files |
|00001090| 62 65 73 69 64 65 73 20 | 74 68 69 73 20 6f 6e 65 |besides |this one|
|000010a0| 2e 20 20 0d 23 09 09 53 | 61 6d 70 6c 65 49 4e 49 |. .#..S|ampleINI|
|000010b0| 54 2e 61 20 69 73 20 61 | 6e 20 49 4e 49 54 20 77 |T.a is a|n INIT w|
|000010c0| 68 69 63 68 20 79 6f 75 | 20 63 61 6e 20 75 73 65 |hich you| can use|
|000010d0| 20 61 73 20 61 20 74 65 | 6d 70 6c 61 74 65 20 66 | as a te|mplate f|
|000010e0| 6f 72 20 79 6f 75 72 20 | 6f 77 6e 20 49 4e 49 54 |or your |own INIT|
|000010f0| 73 0d 23 09 09 52 65 67 | 69 73 74 65 72 4d 79 53 |s.#..Reg|isterMyS|
|00001100| 69 67 6e 61 74 75 72 65 | 2e 63 20 72 65 67 69 73 |ignature|.c regis|
|00001110| 74 65 72 73 20 61 20 73 | 69 67 6e 61 74 75 72 65 |ters a s|ignature|
|00001120| 20 61 6e 64 20 6c 6f 6e | 67 69 6e 74 20 66 6f 72 | and lon|gint for|
|00001130| 20 6c 61 74 65 72 20 6c | 6f 6f 6b 75 70 20 62 79 | later l|ookup by|
|00001140| 20 74 68 65 20 0d 23 09 | 09 09 73 61 6d 65 20 6f | the .#.|..same o|
|00001150| 72 20 61 6e 6f 74 68 65 | 72 20 70 72 6f 63 65 73 |r anothe|r proces|
|00001160| 73 2e 20 20 49 74 20 75 | 73 65 73 20 47 65 73 74 |s. It u|ses Gest|
|00001170| 61 6c 74 20 69 66 20 61 | 76 61 69 6c 61 62 6c 65 |alt if a|vailable|
|00001180| 2c 20 6f 72 20 69 6e 73 | 74 61 6c 6c 73 20 74 68 |, or ins|talls th|
|00001190| 65 20 44 72 69 76 65 72 | 20 0d 23 20 09 09 63 6f |e Driver| .# ..co|
|000011a0| 6e 74 61 69 6e 65 64 20 | 69 6e 20 49 50 43 44 72 |ntained |in IPCDr|
|000011b0| 69 76 65 72 2e 72 73 72 | 63 20 61 6e 64 20 75 73 |iver.rsr|c and us|
|000011c0| 65 73 20 74 68 61 74 2e | 20 20 54 68 65 20 44 72 |es that.| The Dr|
|000011d0| 69 76 65 72 20 6d 75 73 | 74 20 62 65 20 69 6e 20 |iver mus|t be in |
|000011e0| 61 20 72 65 73 6f 75 72 | 63 65 0d 23 09 09 09 66 |a resour|ce.#...f|
|000011f0| 69 6c 65 20 74 68 61 74 | 20 69 73 20 6f 70 65 6e |ile that| is open|
|00001200| 20 77 68 65 6e 20 52 65 | 67 69 73 74 65 72 4d 79 | when Re|gisterMy|
|00001210| 53 69 67 6e 61 74 75 72 | 65 20 69 73 20 63 61 6c |Signatur|e is cal|
|00001220| 6c 65 64 20 28 73 75 63 | 68 20 61 73 20 74 68 65 |led (suc|h as the|
|00001230| 20 74 68 65 20 49 4e 49 | 54 0d 23 09 09 09 66 69 | the INI|T.#...fi|
|00001240| 6c 65 20 77 68 69 63 68 | 20 63 61 6c 6c 73 20 52 |le which| calls R|
|00001250| 65 67 69 73 74 65 72 4d | 79 53 69 67 6e 61 74 75 |egisterM|ySignatu|
|00001260| 72 65 29 2e 20 20 52 65 | 67 69 73 74 65 72 4d 79 |re). Re|gisterMy|
|00001270| 53 69 67 6e 61 74 75 72 | 65 0d 23 09 09 09 61 6c |Signatur|e.#...al|
|00001280| 73 6f 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |so can b|e used t|
|00001290| 6f 20 70 61 73 73 20 74 | 68 65 20 61 64 64 72 65 |o pass t|he addre|
|000012a0| 73 73 20 6f 66 20 73 68 | 61 72 65 64 20 6d 65 6d |ss of sh|ared mem|
|000012b0| 6f 72 79 20 62 65 74 77 | 65 65 6e 20 6d 75 6c 74 |ory betw|een mult|
|000012c0| 69 70 6c 65 0d 23 09 09 | 09 70 72 6f 63 65 73 73 |iple.#..|.process|
|000012d0| 65 73 2c 20 6d 61 6b 69 | 6e 67 20 49 6e 74 65 72 |es, maki|ng Inter|
|000012e0| 2d 50 72 6f 63 65 73 73 | 20 43 6f 6d 6d 75 6e 69 |-Process| Communi|
|000012f0| 63 61 74 69 6f 6e 20 61 | 76 61 69 6c 61 62 6c 65 |cation a|vailable|
|00001300| 20 72 69 67 68 74 20 6e | 6f 77 2e 0d 23 09 09 52 | right n|ow..#..R|
|00001310| 65 67 69 73 74 65 72 57 | 69 74 68 47 65 73 74 61 |egisterW|ithGesta|
|00001320| 6c 74 2e 61 20 69 73 20 | 61 20 75 74 69 6c 69 74 |lt.a is |a utilit|
|00001330| 79 20 66 75 6e 63 74 69 | 6f 6e 20 77 68 69 63 68 |y functi|on which|
|00001340| 20 75 73 65 73 20 47 65 | 73 74 61 6c 74 20 74 6f | uses Ge|stalt to|
|00001350| 20 72 65 67 69 73 74 65 | 72 20 74 68 65 0d 23 09 | registe|r the.#.|
|00001360| 09 09 61 64 64 72 65 73 | 73 20 6f 66 20 74 68 65 |..addres|s of the|
|00001370| 20 49 4e 49 54 27 73 20 | 67 6c 6f 62 61 6c 73 2c | INIT's |globals,|
|00001380| 20 66 6f 72 20 75 73 65 | 20 62 79 20 74 68 65 20 | for use| by the |
|00001390| 49 4e 49 54 27 73 20 63 | 64 65 76 2e 20 20 0d 23 |INIT's c|dev. .#|
|000013a0| 09 09 4c 6f 6f 6b 75 70 | 4d 79 53 69 67 6e 61 74 |..Lookup|MySignat|
|000013b0| 75 72 65 2e 63 20 63 6f | 6e 74 61 69 6e 73 20 4c |ure.c co|ntains L|
|000013c0| 6f 6f 6b 75 70 4d 79 53 | 69 67 6e 61 74 75 72 65 |ookupMyS|ignature|
|000013d0| 28 29 2c 20 77 68 69 63 | 68 20 69 73 20 74 68 65 |(), whic|h is the|
|000013e0| 20 6c 69 62 72 61 72 79 | 20 65 6e 74 72 79 20 0d | library| entry .|
|000013f0| 23 09 09 09 66 6f 72 20 | 6c 6f 6f 6b 69 6e 67 20 |#...for |looking |
|00001400| 75 70 20 74 68 65 20 64 | 61 74 61 20 72 65 67 69 |up the d|ata regi|
|00001410| 73 74 65 72 65 64 20 62 | 79 20 52 65 67 69 73 74 |stered b|y Regist|
|00001420| 65 72 4d 79 53 69 67 6e | 61 74 75 72 65 2e 20 4c |erMySign|ature. L|
|00001430| 6f 6f 6b 75 70 4d 79 53 | 69 67 6e 61 74 75 72 65 |ookupMyS|ignature|
|00001440| 2e 63 0d 23 09 09 09 61 | 6c 73 6f 20 63 6f 6e 74 |.c.#...a|lso cont|
|00001450| 61 69 6e 73 20 41 73 6b | 47 65 73 74 61 6c 74 2e |ains Ask|Gestalt.|
|00001460| 63 2c 20 77 68 69 63 68 | 20 69 73 20 74 68 65 20 |c, which| is the |
|00001470| 75 74 69 6c 69 74 79 20 | 63 6f 72 72 65 73 70 6f |utility |correspo|
|00001480| 6e 64 69 6e 67 20 74 6f | 20 0d 23 09 09 09 52 65 |nding to| .#...Re|
|00001490| 67 69 73 74 65 72 57 69 | 74 68 47 65 73 74 61 6c |gisterWi|thGestal|
|000014a0| 74 2c 20 61 6e 64 20 77 | 68 69 63 68 20 69 73 20 |t, and w|hich is |
|000014b0| 63 61 6c 6c 65 64 20 61 | 75 74 6f 6d 61 74 69 63 |called a|utomatic|
|000014c0| 61 6c 6c 79 20 62 79 20 | 4c 6f 6f 6b 75 70 4d 79 |ally by |LookupMy|
|000014d0| 53 69 67 6e 61 74 75 72 | 65 28 29 2e 0d 23 09 09 |Signatur|e()..#..|
|000014e0| 53 61 6d 70 6c 65 4c 6f | 6f 6b 75 70 2e 63 20 73 |SampleLo|okup.c s|
|000014f0| 68 6f 77 73 20 61 20 76 | 65 72 79 20 73 69 6d 70 |hows a v|ery simp|
|00001500| 6c 65 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 68 6f |le examp|le of ho|
|00001510| 77 20 79 6f 75 20 77 6f | 75 6c 64 20 75 73 65 20 |w you wo|uld use |
|00001520| 4c 6f 6f 6b 75 70 4d 79 | 53 69 67 6e 61 74 75 72 |LookupMy|Signatur|
|00001530| 65 0d 23 09 09 09 74 6f | 20 67 65 74 20 74 68 65 |e.#...to| get the|
|00001540| 20 61 64 64 72 65 73 73 | 20 6f 66 20 74 68 65 20 | address| of the |
|00001550| 49 4e 49 54 27 73 20 28 | 6f 72 20 49 50 43 27 73 |INIT's (|or IPC's|
|00001560| 29 20 6d 65 6d 6f 72 79 | 2e 0d 23 09 09 49 50 43 |) memory|..#..IPC|
|00001570| 44 72 69 76 65 72 2e 72 | 73 72 63 20 63 6f 6e 74 |Driver.r|src cont|
|00001580| 61 69 6e 73 20 74 68 65 | 20 44 52 56 52 20 72 65 |ains the| DRVR re|
|00001590| 73 6f 75 72 63 65 20 77 | 68 69 63 68 20 64 6f 65 |source w|hich doe|
|000015a0| 73 20 74 68 65 20 72 65 | 67 69 73 74 65 72 20 61 |s the re|gister a|
|000015b0| 6e 64 20 6c 6f 6f 6b 75 | 70 0d 23 09 09 09 6f 6e |nd looku|p.#...on|
|000015c0| 20 73 79 73 74 65 6d 73 | 20 74 68 61 74 20 64 6f | systems| that do|
|000015d0| 6e 27 74 20 73 75 70 70 | 6f 72 74 20 47 65 73 74 |n't supp|ort Gest|
|000015e0| 61 6c 74 2e 20 20 54 68 | 65 20 64 72 69 76 65 72 |alt. Th|e driver|
|000015f0| 20 6d 75 73 74 20 62 65 | 20 63 6f 70 69 65 64 20 | must be| copied |
|00001600| 69 6e 74 6f 20 61 6e 79 | 20 0d 23 09 09 09 65 78 |into any| .#...ex|
|00001610| 65 63 75 74 61 62 6c 65 | 20 66 69 6c 65 20 28 41 |ecutable| file (A|
|00001620| 70 70 6c 69 63 61 74 69 | 6f 6e 2c 20 49 4e 49 54 |pplicati|on, INIT|
|00001630| 2c 20 65 74 63 2e 29 20 | 77 68 69 63 68 20 63 61 |, etc.) |which ca|
|00001640| 6c 6c 73 20 52 65 67 69 | 73 74 65 72 4d 79 53 69 |lls Regi|sterMySi|
|00001650| 67 6e 61 74 75 72 65 2e | 0d 23 20 20 20 20 20 54 |gnature.|.# T|
|00001660| 68 65 20 64 72 69 76 65 | 72 20 6d 75 73 74 20 62 |he drive|r must b|
|00001670| 65 20 6e 61 6d 65 64 20 | 22 2e 2e 69 70 63 20 62 |e named |"..ipc b|
|00001680| 79 20 6a 67 72 6f 22 20 | 61 6e 64 20 73 68 6f 75 |y jgro" |and shou|
|00001690| 6c 64 20 68 61 76 65 20 | 69 74 73 20 53 79 73 74 |ld have |its Syst|
|000016a0| 65 6d 48 65 61 70 0d 23 | 09 09 09 66 6c 61 67 20 |emHeap.#|...flag |
|000016b0| 73 65 74 2e 0d 0d 23 20 | 54 6f 20 63 6f 6d 70 69 |set...# |To compi|
|000016c0| 6c 65 20 61 6e 64 20 6c | 69 6e 6b 20 53 61 6d 70 |le and l|ink Samp|
|000016d0| 6c 65 49 4e 49 54 20 61 | 73 20 70 72 6f 76 69 64 |leINIT a|s provid|
|000016e0| 65 64 2c 20 79 6f 75 20 | 6e 65 65 64 20 74 6f 20 |ed, you |need to |
|000016f0| 68 61 76 65 20 61 20 63 | 6f 70 79 20 6f 66 20 53 |have a c|opy of S|
|00001700| 68 6f 77 49 4e 49 54 0d | 23 20 61 6c 72 65 61 64 |howINIT.|# alread|
|00001710| 79 20 63 6f 6d 70 69 6c | 65 64 2e 20 20 53 68 6f |y compil|ed. Sho|
|00001720| 77 49 4e 49 54 20 69 73 | 20 6f 6e 20 74 68 65 20 |wINIT is| on the |
|00001730| 44 65 76 65 6c 6f 70 65 | 72 20 43 44 2c 20 61 6e |Develope|r CD, an|
|00001740| 64 20 61 76 61 69 6c 61 | 62 6c 65 20 65 6c 73 65 |d availa|ble else|
|00001750| 77 68 65 72 65 2e 0d 23 | 20 49 66 20 79 6f 75 20 |where..#| If you |
|00001760| 64 6f 6e 27 74 20 68 61 | 76 65 20 61 20 63 6f 70 |don't ha|ve a cop|
|00001770| 79 20 6f 66 20 53 68 6f | 77 49 4e 49 54 2c 20 79 |y of Sho|wINIT, y|
|00001780| 6f 75 20 63 61 6e 20 6d | 61 6b 65 20 74 68 65 20 |ou can m|ake the |
|00001790| 63 68 61 6e 67 65 73 20 | 6e 6f 74 65 64 20 69 6e |changes |noted in|
|000017a0| 20 0d 23 20 53 61 6d 70 | 6c 65 49 4e 49 54 2e 61 | .# Samp|leINIT.a|
|000017b0| 20 61 6e 64 20 72 65 6d | 6f 76 65 20 53 68 6f 77 | and rem|ove Show|
|000017c0| 49 4e 49 54 2e 61 2e 6f | 20 66 72 6f 6d 20 74 68 |INIT.a.o| from th|
|000017d0| 65 20 6c 69 6e 6b 20 6c | 69 6e 65 2e 0d 0d 0d 0d |e link l|ine.....|
|000017e0| 0d 23 20 45 78 65 63 75 | 74 65 20 74 68 65 20 6c |.# Execu|te the l|
|000017f0| 69 6e 65 73 20 62 65 6c | 6f 77 20 74 6f 20 63 6f |ines bel|ow to co|
|00001800| 6d 70 69 6c 65 20 61 6e | 64 20 6c 69 6e 6b 20 74 |mpile an|d link t|
|00001810| 68 65 20 53 61 6d 70 6c | 65 49 4e 49 54 2e 20 20 |he Sampl|eINIT. |
|00001820| 4e 6f 74 65 20 74 68 61 | 74 20 53 61 6d 70 6c 65 |Note tha|t Sample|
|00001830| 49 4e 49 54 0d 23 20 64 | 6f 65 73 6e 27 74 20 64 |INIT.# d|oesn't d|
|00001840| 6f 20 61 6e 79 74 68 69 | 6e 67 20 75 73 65 66 75 |o anythi|ng usefu|
|00001850| 6c 2c 20 73 6f 20 74 68 | 65 72 65 27 73 20 6e 6f |l, so th|ere's no|
|00001860| 74 20 6d 75 63 68 20 70 | 6f 69 6e 74 20 69 6e 20 |t much p|oint in |
|00001870| 69 6e 73 74 61 6c 6c 69 | 6e 67 20 69 74 2e 0d 23 |installi|ng it..#|
|00001880| 20 55 6e 63 6f 6d 6d 65 | 6e 74 20 74 68 65 20 2d | Uncomme|nt the -|
|00001890| 6c 20 74 6f 20 67 65 74 | 20 61 20 6c 69 73 74 69 |l to get| a listi|
|000018a0| 6e 67 20 69 6e 20 3c 73 | 6f 75 72 63 65 66 69 6c |ng in <s|ourcefil|
|000018b0| 65 3e 2e 6c 73 74 0d 0d | 43 20 2d 62 32 20 4c 6f |e>.lst..|C -b2 Lo|
|000018c0| 6f 6b 75 70 4d 79 53 69 | 67 6e 61 74 75 72 65 2e |okupMySi|gnature.|
|000018d0| 63 0d 43 20 2d 62 32 20 | 52 65 67 69 73 74 65 72 |c.C -b2 |Register|
|000018e0| 4d 79 53 69 67 6e 61 74 | 75 72 65 2e 63 20 0d 41 |MySignat|ure.c .A|
|000018f0| 73 6d 20 52 65 67 69 73 | 74 65 72 57 69 74 68 47 |sm Regis|terWithG|
|00001900| 65 73 74 61 6c 74 2e 61 | 20 2d 6f 20 52 65 67 69 |estalt.a| -o Regi|
|00001910| 73 74 65 72 57 69 74 68 | 47 65 73 74 61 6c 74 2e |sterWith|Gestalt.|
|00001920| 61 2e 6f 20 20 20 20 23 | 20 2d 6c 20 2d 66 6f 6e |a.o #| -l -fon|
|00001930| 74 20 6d 6f 6e 61 63 6f | 2c 39 20 0d 41 73 6d 20 |t monaco|,9 .Asm |
|00001940| 53 61 6d 70 6c 65 49 4e | 49 54 2e 61 20 2d 6f 20 |SampleIN|IT.a -o |
|00001950| 53 61 6d 70 6c 65 49 4e | 49 54 2e 61 2e 6f 20 20 |SampleIN|IT.a.o |
|00001960| 20 23 20 2d 6c 20 2d 66 | 6f 6e 74 20 6d 6f 6e 61 | # -l -f|ont mona|
|00001970| 63 6f 2c 39 20 0d 20 09 | 0d 4c 69 6e 6b 20 53 61 |co,9 . .|.Link Sa|
|00001980| 6d 70 6c 65 49 4e 49 54 | 2e 61 2e 6f 20 53 68 6f |mpleINIT|.a.o Sho|
|00001990| 77 49 4e 49 54 2e 61 2e | 6f 20 52 65 67 69 73 74 |wINIT.a.|o Regist|
|000019a0| 65 72 4d 79 53 69 67 6e | 61 74 75 72 65 2e 63 2e |erMySign|ature.c.|
|000019b0| 6f 20 b6 0d 09 09 52 65 | 67 69 73 74 65 72 57 69 |o ....Re|gisterWi|
|000019c0| 74 68 47 65 73 74 61 6c | 74 2e 61 2e 6f 20 22 7b |thGestal|t.a.o "{|
|000019d0| 4c 69 62 72 61 72 69 65 | 73 7d 49 6e 74 65 72 66 |Librarie|s}Interf|
|000019e0| 61 63 65 2e 6f 22 20 b6 | 0d 09 09 2d 6f 20 53 61 |ace.o" .|...-o Sa|
|000019f0| 6d 70 6c 65 49 4e 49 54 | 20 b6 0d 09 09 2d 6d 20 |mpleINIT| ....-m |
|00001a00| 53 41 4d 50 4c 45 20 2d | 73 67 20 53 61 6d 70 6c |SAMPLE -|sg Sampl|
|00001a10| 65 49 4e 49 54 20 2d 72 | 74 20 49 4e 49 54 3d 31 |eINIT -r|t INIT=1|
|00001a20| 20 20 2d 74 20 27 49 4e | 49 54 27 20 2d 63 20 27 | -t 'IN|IT' -c '|
|00001a30| 3f 3f 3f 3f 27 0d 0d 0d | 23 20 79 6f 75 72 20 63 |????'...|# your c|
|00001a40| 64 65 76 27 73 20 6c 69 | 6e 6b 20 6c 69 6e 65 20 |dev's li|nk line |
|00001a50| 77 6f 75 6c 64 20 6c 6f | 6f 6b 20 73 6f 6d 65 74 |would lo|ok somet|
|00001a60| 68 69 6e 67 20 6c 69 6b | 65 20 74 68 69 73 3a 0d |hing lik|e this:.|
|00001a70| 23 4c 69 6e 6b 20 59 6f | 75 72 43 64 65 76 2e 63 |#Link Yo|urCdev.c|
|00001a80| 2e 6f 20 53 61 6d 70 6c | 65 49 4e 49 54 2e 61 2e |.o Sampl|eINIT.a.|
|00001a90| 6f 20 4c 6f 6f 6b 75 70 | 4d 79 53 69 67 6e 61 74 |o Lookup|MySignat|
|00001aa0| 75 72 65 2e 63 2e 6f 20 | 20 b6 0d 23 09 09 22 7b |ure.c.o | ..#.."{|
|00001ab0| 4c 69 62 72 61 72 69 65 | 73 7d 49 6e 74 65 72 66 |Librarie|s}Interf|
|00001ac0| 61 63 65 2e 6f 22 20 b6 | 0d 23 09 09 2d 6f 20 53 |ace.o" .|.#..-o S|
|00001ad0| 61 6d 70 6c 65 49 4e 49 | 54 20 b6 0d 23 09 09 2d |ampleINI|T ..#..-|
|00001ae0| 6d 20 59 6f 75 72 43 64 | 65 76 45 6e 74 72 79 70 |m YourCd|evEntryp|
|00001af0| 6f 69 6e 74 20 2d 73 67 | 20 59 6f 75 72 43 64 65 |oint -sg| YourCde|
|00001b00| 76 4e 61 6d 65 20 2d 72 | 74 20 63 64 65 76 3d 31 |vName -r|t cdev=1|
|00001b10| 20 20 2d 74 20 27 63 64 | 65 76 27 20 2d 63 20 27 | -t 'cd|ev' -c '|
|00001b20| 3f 3f 3f 3f 27 0d 00 00 | 00 00 00 00 00 00 00 00 |????'...|........|
|00001b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b80| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00001b90| 3f 3c 00 01 a9 ee 20 6f | 00 04 20 80 4e fa 00 0e |?<.... o|.. .N...|
|00001ba0| 20 6f 00 04 20 2f 00 08 | 42 67 a9 ee 20 5f 50 4f | o.. /..|Bg.. _PO|
|00001bb0| 14 49 4e 49 54 2f 63 64 | 65 76 20 49 50 43 20 52 |.INIT/cd|ev IPC R|
|00001bc0| 45 41 44 4d 45 52 02 00 | 00 00 54 45 58 54 4d 50 |EADMER..|..TEXTMP|
|00001bd0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 0c 00 42 |..TEXTMP|S .....B|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 00 00 a2 e2 40 46 00 00 | 1a a6 00 00 01 7e 21 43 |....@F..|.....~!C|
|00001c00| 00 0c 60 c4 de fc 00 10 | 20 3a 00 2a 67 04 20 40 |..`.....| :.*g. @|
|00001c10| a0 23 2f 38 01 18 21 f8 | 02 a6 01 18 42 a7 61 00 |.#/8..!.|....B.a.|
|00001c20| 00 ae 21 df 01 18 61 10 | 20 6b 01 92 42 ab 01 92 |..!...a.| k..B...|
|00001c30| a0 23 4e 75 00 00 00 00 | 24 6b 01 aa 78 00 20 52 |.#Nu....|$k..x. R|
|00001c40| 43 e8 ff fc 52 44 b8 50 | 62 7c 50 49 4a 51 66 f4 |C...RD.P|b|PIJQf.|
|00001c50| 4a 69 00 02 67 04 4a 03 | 67 ea 53 50 72 00 32 29 |Ji..g.J.|g.SPr.2)|
|00001c60| 00 06 41 f0 10 00 74 01 | d4 10 41 f0 20 00 d4 10 |..A...t.|..A. ...|
|00001c70| 5a 42 3f 02 59 4f 2f 0a | 2f 01 42 a7 2f 02 2f 0f |ZB?.YO/.|/.B././.|
|00001c80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 6f 64 62 |...H..Mo|naco.odb|
|00001c90| 65 72 67 2e 20 20 41 6c | 6c 20 52 69 67 68 74 73 |erg. Al|l Rights|
|00001ca0| 20 52 65 73 65 72 00 06 | 00 02 00 a5 02 84 03 c4 | Reser..|........|
|00001cb0| 04 a5 00 a8 02 f3 03 c7 | 05 14 a3 19 7e 67 00 00 |........|....~g..|
|00001cc0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00001cd0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 49 b2 00 |...L...L|...2.I..|
|00001ce0| 09 ec 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00001cf0| 00 0a 03 ed ff ff 00 00 | 00 00 00 4b 55 50 00 00 |........|...KUP..|
+--------+-------------------------+-------------------------+--------+--------+